package com.djf.eg.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.djf.eg.dao.DemoDao;
import com.djf.eg.entity.Demo;

@Service
public class DemoService {
	@Autowired
	DemoDao demoDao;
	
//	public List<Demo> getAll() {
//		return demoDao.findAll();
//	}
//	
//	public Demo addDemo(Demo demo) {
//		return demoDao.save(demo);
//	}
}
